PDBEN=0, PDBIE=0, DMAEN=0, PDBEIE=0, LDMOD=00, MULT=00, PRESCALER=000, TRGSEL=0000, CONT=0
Status and Control register
LDOK | Load OK |
CONT | Continuous Mode Enable 0 (0): PDB operation in One-Shot mode 1 (1): PDB operation in Continuous mode |
MULT | Multiplication Factor Select for Prescaler 0 (00): Multiplication factor is 1. 1 (01): Multiplication factor is 10. 2 (10): Multiplication factor is 20. 3 (11): Multiplication factor is 40. |
PDBIE | PDB Interrupt Enable 0 (0): PDB interrupt disabled. 1 (1): PDB interrupt enabled. |
PDBIF | PDB Interrupt Flag |
PDBEN | PDB Enable 0 (0): PDB disabled. Counter is off. 1 (1): PDB enabled. |
TRGSEL | Trigger Input Source Select 0 (0000): Trigger-In 0 is selected. 1 (0001): Trigger-In 1 is selected. 2 (0010): Trigger-In 2 is selected. 3 (0011): Trigger-In 3 is selected. 4 (0100): Trigger-In 4 is selected. 5 (0101): Trigger-In 5 is selected. 6 (0110): Trigger-In 6 is selected. 7 (0111): Trigger-In 7 is selected. 8 (1000): Trigger-In 8 is selected. 9 (1001): Trigger-In 9 is selected. 10 (1010): Trigger-In 10 is selected. 11 (1011): Trigger-In 11 is selected. 12 (1100): Trigger-In 12 is selected. 13 (1101): Trigger-In 13 is selected. 14 (1110): Trigger-In 14 is selected. 15 (1111): Software trigger is selected. |
PRESCALER | Prescaler Divider Select 0 (000): Counting uses the peripheral clock divided by multiplication factor selected by MULT. 1 (001): Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 2 (010): Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 3 (011): Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 4 (100): Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 5 (101): Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 6 (110): Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 7 (111): Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT. |
DMAEN | DMA Enable 0 (0): DMA disabled. 1 (1): DMA enabled. |
SWTRIG | Software Trigger |
PDBEIE | PDB Sequence Error Interrupt Enable 0 (0): PDB sequence error interrupt disabled. 1 (1): PDB sequence error interrupt enabled. |
LDMOD | Load Mode Select 0 (00): The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 1 (01): The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 2 (10): The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 3 (11): The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK. |